<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>info</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    姓名: <input type="text" name="name">
    <br>
    gitee地址: <input type="text" name="gitaddr">
    <br>
    班级: <select name="cls" id="cls">
    {% for cls in clses %}
        <option value="{{ cls.id }}">{{ cls.clsname }}</option>
    {% endfor %}

</select>
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>